TsgDXFDimensionStyle
Unit: DXFConv
Description
The TsgDXFDimensionStyle
class defines DIMSTYLE entity of a DXF file. A dimension style is a named collection of dimension settings that control the appearance of dimensions. You create dimension styles to specify the format of dimensions quickly, and to ensure that dimensions conform to standards.
Syntax
TsgDXFDimensionStyle = class(TsgDXFPenTableItem)
Properties
Properties | Description |
---|---|
ArrowSize | Gets or sets dimension arrow size. |
ArrowType1 | Gets or sets a type of arrow exterior. |
ArrowType2 | Gets or sets a type of the first arrow exterior. |
ArrowTypeL | Gets or sets a type of the second arrow exterior. |
DIMCLRD | Gets or sets the arrow block name for leaders. |
DIMCLRE | Gets or sets placement of center marks or centerlines. |
DIMCLRT | Gets or sets the arrowhead block displayed at the ends of dimension lines. |
DIMDEC | Gets or sets the arrowhead type for block displayed at the ends of dimension lines. |
DIMLFAC | Gets or sets the arrowhead for the first end of the dimension line. |
DIMLWD | Gets or sets the arrowhead type for the first end of the dimension line. |
DIMLWE | Gets or sets the arrowhead for the second end of the dimension line. |
DIMTIH | Gets or sets the arrowhead type for the second end of the dimension line. |
DIMTIX | Assigns colors to dimension lines, arrowheads, and dimension leader lines. |
DIMTOH | Assigns colors to extension lines, center marks, and centerlines. |
DIMSD1 | Assigns colors to dimension text. |
DIMSD2 | Controls the type of arrowhead used for leaders. |
DIMSE1 | Gets or sets the number of decimal places displayed for the primary units of a dimension. |
DIMSE2 | Gets or sets a scale factor for linear dimension measurements. |
ExtLineExt | Gets or sets lineweight of dimension lines |
ExtLineOffset | Gets or sets lineweight of extension lines. |
Scale | Controls the position of dimension text inside the extension lines. |
SizeCenterMark | Checks whether to draw dimension text between the extension lines. |
TextHeight | Controls the position of dimension text outside the extension lines. |
TextOffset | Controls suppression of the first dimension line and arrowhead. |
TextPosVert | Controls suppression of the second dimension line and arrowhead. |
TextStyle | Controls suppression of the first extension line. |
Derived from TsgDXFPenTableItem | Description |
---|---|
Flags | The property sets and gets standard flag values (bit-coded value) |
Name | The name of the type of line or layer value of 2 code of the section from DXF file of a table LTYPE or LAYERS. |
Derived from TsgDXFPenEntity | Description |
---|---|
Pen | The property for reaching the TPen object, used for drawing. |
Derived from TsgDXFEntity | Description |
---|---|
Box | The property determines the 3d box embraced the entity. |
Color | The property gets or sets entity color. |
ColorCAD | The property gets or sets a color for drawing entities. |
Complex | The property determines whether a entity is populated with child entities. |
Converter | The property returns the TsgDXFConverter class object. |
Count | The property indicates the total number of child entities. |
Entities | The property lists all child entities. |
EntType | The property indicates type of an entity. |
Handle | The property is used for finding entity links. |
Layer | The property points to layer, containing given primitive if this layer is given. |
LineType | The property sets and gets line type for an entity. |
LineTypeScale | The property sets and gets the Linetype scale. |
LineWeight | The property sets or gets line weight in millimeters. |
PaperSpace | The property indicates Model Space and Paper Space entity segregation. |
SrcEnd | The property indicates end position of the entity description in the source CAD file. |
SrcStart | The property indicates start position of the entity description in the source CAD file. |
Visibility | The property sets and gets entities visibility. |
Visible | The property determines whether the component appears onscreen. |
Methods
Methods | Description |
---|---|
AssignEntity | Copies properties of source entity to current entity. |
Create | Creates an instance of the TsgDXFDimensionStyle class object. |
InitProps | For internal uses. |
Derived from TsgDXFPenTableItem | Description |
---|---|
EntName | The property gets the name of an entity. |
Derived from TsgDXFPenEntity | Description |
---|---|
Destroy | Frees up internal the TPen object before freeing this instance. |
SetColor | The method changes the color used for drawing. |
Derived from TsgDXFEntity | Description |
---|---|
AddEntity | The method adds a new child entity. |
Clone | The method copies properties of source entity to current entity (include Handle ). |
Draw | The method generates the OnDraw event. |
GetBoxPoints | The method is used in drawing cycle for fast checking whether the entity must be drawn. |
GetThickness | The method returns entity's thickness. |
SetLType | The method sets line type of the entity. |
SetLWeight | The method sets line weight width of the entity. |
Events
Derived from TsgDXFEntity | Description |
---|---|
OnDraw | The event occurs when the Draw method is called. |